第 11 步:现在让我们生成一个随机 y 坐标!

  • ,将Random Integer拖动到间隔事件中。
  • 将变量从my_var更改为y
  • 将左侧的整数从1更改为-200 ,将右侧的整数从10更改为200

    To navigate the page using the TAB key, first press ESC to exit the code editor.

    # THIS ACTIVITY IS IN PREVIEW ONLY MODE
    • Run Code
    • Submit Work
    • Next Activity
    • Show Console
    • Reset Code Editor
    • Codesters How To (opens in a new tab)